FIX: Fixed bug in allowed_backends validation in DNEnvironment.