Removed not need empty check in panels plugin