Fixed bug with get lists that could cause infinite loop