Minor refactor; Removing warnings
Ordering the queue jobs by creation date and filtering them by type