Added more explicit checks on episodic, brain and social allocation

See title.