Fixing Posts 2 Posts and The Events Calendar plugin compatibility

 

References:

http://tri.be/support/forums/topic/posts-2-posts-connections/