Remame isEmpty method from models to recordIsEmpty. This fix some issues