Fixed a Bug in GetActive School and Subject if Database is empty