 		return
 
 	_findPrevious: (entity)->
-		if not (entity?.parent isnt @)
+		if not entity or entity.parent is @
 			if entity
 				page = entity._page
 				if page[page.hotIndex] is entity

		[entity, index] = @_findPrevious(@current)
		if entity
			@setCurrent(entity)
			entity.page.hotIndex = index
			return entity
		else
			return @current


		if not @_dontChangeCurrent and not @current
			@setCurrent(entity)
			if 0 <= index < entity._page.length
				entity._page.hotIndex = index
		return entity

	remove: (entity, detach)->
