Fixed issue with main crud not functioning.