Removed metabox class check. On the live site it would always return the function before the metaboxes were created.