Removing unnecessery actions for records