Fixed bug that popped up when there aren't any field groups assigned to a page layout.