Try to look for another job. I think this time it will be easier because you just had a job. Then if they ask your reason for unemployment, just say shortage of work because that's the truth. There's not enough work for you in that company but that doesn't mean you didn't do well.
“As long as you want it so bad, it’s not going to happen – the only way it’s gonna work is if it doesn’t matter…” - Wristcutters: A Love Story