Megha| null check on quiz before checking for its active status