Added isQueFull check.