fixes detection of loaded/pending fragment in FragmentModel