Update cortex.php

if has-many is detected we'll take it out of the fields array so that the virtual field isn't fed into schema for creation