Fixes null potion effects error