Fix for creating new meta that has no foreign key set